﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ly
{
    enum item 
    {
        武器,
        材料,
        食物
    }
    class ShopType : NPC
    {

        public item shangping  { get; set; }
       

        public ShopType()
        {
        }
        public ShopType(string name, NPCType type, string info,item shangping)
            :base(name,type,info)
        {
            this.shangping = shangping;
        }
        public override void Speak()
        {
            Console.WriteLine("我的名字叫：{0}，类型:{1}，信息:{2}，商品:{3}", base.Name, base.Type, base.NPCInfo, this.shangping);
        }

    }
}
